function setIFrameHeight(obj){
    if(obj.contentDocument){
        obj.height = obj.contentDocument.body.offsetHeight + 40;
    } else {
        obj.height = obj.contentWindow.document.body.scrollHeight;
    }
}

window.onload = function() {
	var guest_click = document.getElementById("guest_click");
	guest_click.onmouseover = function() {
		guest_click.style.cursor = "pointer";
		guest_click.style.color = "#98d865";
		guest_click.onmouseout = function() {
			guest_click.style.color = "#000";
		};
	};
};

function limit(form) {
	if(form.gContent.value.length>118){
		alert("더이상 입력이 불가능합니다.");
		form.gContent.focus();
	}
};
function submit1(form) {
	num = form.gContent.value;
	if(num.length>120){
		alert("입력이 제한됩니다.");
		return form.gContent.focus();
	}
};